var Jasmine = require('jasmine');
var SpecReporter = require('jasmine-spec-reporter');

var jrunner = new Jasmine();
jrunner.env.clearReporters();             // jasmine >= 2.5.2, remove default reporter logs
jrunner.addReporter(new SpecReporter());  // add jasmine-spec-reporter
jrunner.loadConfigFile('./jasmine.json'); // load jasmine.json configuration
jrunner.execute();
